package com.example.demo.controller;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import com.example.demo.pojo.Hello;


@RestController
public class HelloVue {
	@GetMapping("vuelist")
	public Hello list() {
		Hello hello = new Hello();
		
		hello.setId("001");
		hello.setName("王升");
		hello.setTitle("今天是周五！");
		hello.setUpdateTime(new Date());
		
		
		return hello;
	}

}
